package com.felix.pattern.share;

import lombok.Data;

import static com.felix.pattern.share.ShareConstants.TYPE_LINK;
import static com.felix.pattern.share.ShareConstants.TYPE_TEXT;

/**
 * Text
 *
 * @author xuejinhua
 * @date 2019/1/24 10:24
 */
@Data
public class Text extends AbstractShareItem {

    public String content;

    public Text(String content) {
        super(TYPE_TEXT);
        this.content = content;
    }

    @Override
    public void doShare(ShareListener listener) {

    }
}